{include file="public/header" /}
	<body>
		<div class="view-topbar">
			<div class="topbar-console">
				<div class="tobar-head fl">
					<a href="#" class="topbar-logo fl">
					<span><img src="__PUBLIC__/static/admin/Images/logo.png" width="20" height="20"/></span>
					</a>
					<a href="index.html" class="topbar-home-link topbar-btn text-center fl"><span>管理控制台</span></a>
				</div>
			</div>
			<div class="topbar-info">
				<ul class="fr">
					<li class="fl dropdown topbar-notice topbar-btn">
					<a href="#" class="dropdown-toggle">
					<span class="icon-notice"></span>
					<span class="topbar-num have">0</span>
					<!--have表示有消息，没有消息去掉have-->
					</a>
					</li>
					<!-- 					<li class="fl topbar-info-item strong">
					<div class="dropdown">
						<a href="#" class="dropdown-toggle topbar-btn">
						<span class="fl">工单服务</span>
						<span class="icon-arrow-down"></span>
						</a>
						<ul class="dropdown-menu">
							<li><a href="#">我的工单</a></li>
							<li><a href="#">提交工单</a></li>
						</ul>
					</div>
					</li>
					 -->
					<li class="fl topbar-info-item">
					<div class="dropdown">
						<a href="#" class="topbar-btn">
						<span class="fl text-normal">帮助与文档</span>
						<span class="icon-arrow-down"></span>
						</a>
						<ul class="dropdown-menu">
							<li><a href="#">模板开发手册</a></li>
							<li><a href="#">某某数据字典</a></li>
						</ul>
					</div>
					</li>
					<li class="fl topbar-info-item">
					<div class="dropdown">
						<a href="#" class="topbar-btn">
						<span class="fl text-normal">小朱</span>
						<span class="icon-arrow-down"></span>
						</a>
						<ul class="dropdown-menu">
							<li><a href="login.html">退出</a></li>
						</ul>
					</div>
					</li>
				</ul>
			</div>
		</div>
		<div class="view-body">
			<div class="view-sidebar">
				<div class="sidebar-content">
					{include file="public/menu" /}
				</div>
			</div>
			<div class="view-product">
				<div class="authority">
					<div class="authority-head">
						<div class="manage-head">
							<h6 class="layout padding-left manage-head-con">分类管理
							<span class="fr text-small text-normal padding-top">修改时间：2016-07-08</span>
							<span class="fr margin-large-right padding-top text-small text-normal">最新版本：<em class="text-main">2.4.0.160708</em></span>
							</h6>
						</div>
                                            <div class="margin-tb manage-detail-con clearfix">
							<a class="h5 margin-large-left custom fl" href="__PUBLIC__index.php/admin/model/addattr/mid/{$mid}">添加模型字段</a>
							<a class="h5 margin-large-left custom fl" href="#">全选</a>
							<a class="h5 margin-large-left custom fl" href="#">筛选</a>
							<a class="h5 margin-large-left custom fl" href="#">删除</a>
							<a class="h5 margin-large-left custom fl" href="#">排序</a>
							<a class="h5 margin-large-left custom fl" href="#">刷新</a>
						</div>
					</div>
					<div class="authority-content">
						<div class="list-content show">
							<div class="offcial-table tr-border margin-big-top clearfix">
								<div class="tr-th clearfix">
                                                                    <div class="th w5">
                                                                        <input type='checkbox' name="check_all" id="check_all" value='1' >
                                                                    </div>
                                                                    <div class="th w5">
                                                                            排序
									</div>
                                                                    <div class="th w5">
										ID
                                                                    </div>
                                                                    <div class="th w20">
                                                                            字段描述
                                                                    </div>
                                                                    <div class="th w10">
                                                                            字段名
                                                                    </div>
                                                                    <div class="th w10">
                                                                            类型
                                                                    </div>
                                                                    <div class="th w5">
										搜索
									</div>
                                                                    <div class="th w5">
										验证
									</div>
                                                                    <div class="th w5">
										系统字段
									</div>
                                                                    <div class="th w5">
										显示状态
									</div>
                                                                    <div class="th w25">
										操作
									</div>
								</div>
								<div class="tr clearfix border-bottom-none">
                                                                    {volist name='modelattlist' id='vo'}
									<div class="td w5">
										<input type='checkbox' name="selectinfoid" value='{$vo.mid}'>
									</div>
									<div class="td w5">
                                                                            <input type="hidden" name="infoid" id="infoid" value="{$vo.aid}">
                                                                            <input type="text" name="pid" size="3" value="{$vo.pid}" class="infoInput">
									</div>
                                                                        <div class="td w5">
										{$vo.aid}
									</div>
									<div class="td w20">
										{$vo.typename}
									</div>
                                                                        <div class="td w10">
										{$vo.attrname}
									</div>
                                                                        <div class="td w10">
										{$vo.inputtype}
									</div>
                                                                    <div class="td w5">
										开
									</div>
									<div class="td w5">
										开
									</div>
									<div class="td w5">
										开
									</div>
                                                                    <div class="td w5">
										开
									</div>
									<div class="td w25">
										<a href="__PUBLIC__index.php/admin/model/update/mid/{$vo.mid}" msg=""  data-id="" class="button-word2 btn_ajax_confirm">修改</a>
									</div>
                                                                {/volist}
								</div>
							</div>
						</div>
						<div class="show-page padding-big-right">
							<div class="page">
								<div class="page">
									<ul class="offcial-page margin-top margin-big-right">
										<li>共<em class="margin-small-left margin-small-right">1</em>条数据</li>
										<li>每页显示<em class="margin-small-left margin-small-right">15</em>条</li>
										<li><a class="next disable">上一页</a></li>
										<li></li>
										<li><a class="next disable">下一页</a></li>
										<li><span class="fl">共<em class="margin-small-left margin-small-right">1</em>页</span></li>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<script>
			$(".sidebar-title").live('click', function() {
				if ($(this).parent(".sidebar-nav").hasClass("sidebar-nav-fold")) {
					$(this).next().slideDown(200);
					$(this).parent(".sidebar-nav").removeClass("sidebar-nav-fold");
				} else {
					$(this).next().slideUp(200);
					$(this).parent(".sidebar-nav").addClass("sidebar-nav-fold");
				}
			});
		</script>
	</body>

</html>